import axios from 'axios'
import {getUser} from '@/utils/auth'
// 创建axios实例
const service = axios.create({
  baseURL: 'http://192.168.207.131:7300/mock/5c00c2c62d8696089dfa9931/tensquare', // api的base_url
  timeout: 15000, // 请求超时时间
  //在头信息中加入token，后台接收到tonken就可以验证
  headers: {"Authorization": 'jjjjjjjjjjjjjjjjj  '+getUser().token}
})


export default service
